package com.itxx.homeWork.templateDesign;
//经理类
public class Manager extends Person{
    //奖金
    private String bonus;

    public Manager() {
    }

    public Manager(String id, String name, int age) {
        super(id, name, age);
    }

    @Override
    public void setshow() {
        System.out.println("接公司通知.....所有福利取消");
    }

    public Manager(String id, String name, int age, String bonus) {
        super(id, name, age);
        this.bonus = bonus;
    }

    public String getBonus() {
        return bonus;
    }

    public void setBonus(String bonus) {
        this.bonus = bonus;
    }
}
